import request from "@/network/request";

export function allCategory() {
    return request({
        url: '/business/category/all',
    })
}

export function saveCategory(params) {
    return request({
        url: '/business/category/save',
        data: params
    })
}

export function deleteCategory(id) {
    return request({
        url: '/business/category/delete/' + id,
    })
}
